package code.lucamarrocco.struts2.rest;

import code.lucamarrocco.rest.*;

import com.opensymphony.xwork2.*;

public class RestfulProtocolAction extends ActionSupport implements ModelDriven<RestfulProtocol> {
	private RestfulProtocol restfulProtocol;

	@Override
	public String execute() throws Exception {
		return SUCCESS;
	}

	public RestfulProtocol getModel() {
		return restfulProtocol;
	}

	public void setRestfulProtocol(RestfulProtocol restfulProtocol) {
		this.restfulProtocol = restfulProtocol;
	}
}
